import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Editor } from '@tinymce/tinymce-react';
import { list, add, del } from '../../../store/actions';
import './home.less';
import {Earth} from '../common/earth/index.jsx';
import {get, post} from '@api/index.js'
import Login from '../login/index.jsx'
class Home extends Component {
  constructor(props){
    super(props)
  }
  render(){
    return <div className="home-page page-component">
      <Login/>
    </div>
  }
}


const mapStateToProps = state => {
  return {
    list: state.list
  };
};

export default connect(mapStateToProps, { add, del })(Home);
